package com.ruoyi.mateTemplate.mapper;

import com.ruoyi.mateTemplate.domain.ProductTemplate;
import com.ruoyi.mateTemplate.domain.ProductTemplateModel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @Author
 * @Version 1.0
 */
@Mapper
public interface TemplateMapper {

    public int insertTemplate(ProductTemplate productTemplate);

    public ProductTemplate selectProductTemplate(Map<String,Object> resMap);

    public int insertTemplateModel(ProductTemplateModel productTemplateModel);

    public void  removeTemplate(Long templateId);

    public void  removeTemplateModel(Long templateModelId);

    public ProductTemplate  checkTemplate(Map<String,Object> resMap);

    public ProductTemplate selectAllProductTemplate(Map<String,Object> resMap);

}
